<!DOCTYPE html>
<html>
<head>
	<title>Vue模板</title>
</head>
<body>
	<div id="app">
		<h1>{{ title }}</h1>
		<h1>{{ sayHello() }}</h1>
		<h1>{{ say() }}</h1>
	</div>
 	<script type="text/javascript" src="../js/vue.js"></script>
 	<script type="text/javascript">
 		var app = new Vue({
 			el: '#app',
 			data: {
 				title: 'hello Vue'
 			},
			methods: {
 			    sayHello(){
 			        return 'Hello';
				},
                say(){
 			        return this.title;
                }
			}
 		});
 	</script>
</body>
</html>